package com.simple.mq.boot.starter.annotation;

import com.simple.mq.boot.starter.scan.SimpleMqScannerRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 项目: simple-mq
 * <p>
 * 功能描述: 需要扫描的队列配置注解
 *
 * @author: WuChengXing
 * @create: 2023-09-16 22:38
 **/
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({SimpleMqScannerRegistrar.class})
public @interface SimpleMqScan {

    /**
     * 基础扫描包
     *
     * @return
     */
    String[] basePackages();
}
